<li class="item">
<?php 
	$level_w = array(
		'1'=> '',
		'2'=> 'w_40',
		'3'=> 'w_40',
	);
?>

	<ul class="c_f p_5 f_r cate">
		<li class="w_250 f_l t_l">
			<div class="<?php echo $level_w[$data->zca_level]; ?> f_l">&nbsp;</div>
			<span class="mem_ico fold ico_fold"></span>
			<span>&nbsp;
				<?php echo CHtml::textfield('Category[zca_title][]',$data->zca_title,array('readonly'=>'readonly')); ?>
			</span>	
		</li>
		<li class="w_160 f_l t_c">&nbsp;
		</li>
		<li class="w_100 f_l t_c c">
			<span class="fold"><?php echo ($data->zca_level==1)?'展开设置保证金额':"&nbsp;"?></span>
		</li>
		<li class="w_210 f_l t_c">&nbsp;
			<?php echo ($data->zca_level==2)?CHtml::textfield('Category_deposit['.$data->zca_id.']',$data->zca_deposit,array('class'=>'deposit_input w_170')):'&nbsp;'; ?>
		</li>
		<li class="w_100 f_l t_c">&nbsp;
		</li>
	</ul>

	<?php if($data->zca_level==1){?>
	<div class = "child d_n">
		<?php  $this->widget('zii.widgets.CListView', array(
			'dataProvider'=>Category::model()->loadChild($data->zca_id),
			'itemView'=>'_view',
			'emptyText'=>"",
			'enablePagination'=>'false',
			'template'=>'{items}',
			'itemsCssClass'=>'',
			'summaryText'=>'',
			'tagName'=>'ul',
			'htmlOptions'=>array('class'=>'type_list')
		)); ?>
	 </div>
	 <?php }?>
</li>